{include file="public/header"  title="权限组列表"}
<body>
<div class="panel admin-panel">
  <div class="panel-head"><strong class="icon-reorder"> 分类列表</strong></div>
  <table class="table table-hover text-center">
    <tr>
      <th width="5%">ID</th>
      <th width="15%">权限组名称</th>
      <th width="15%">添加时间</th>
      <th width="10%">操作</th>
    </tr>
    {volist name="auth" id="v"}
    <tr>
      <td>{$v['id']}</td>
      <td>{$v['title']}</td>
      <td>{$v['addtime']|date="Y-m-d H:i:s"}</td>
      <td>
        <div class="button-group"><a class="button border-main" href="{:url('Admin/authEdit',['id'=>$v['id']])}"><span class="icon-edit"></span> 修改</a>
          <a class="button border-red" href="{:url('Admin/authSoftDelete',['id'=>$v['id']])}"><span class="icon-trash-o"></span> 删除</a>
        </div>
      </td>
    </tr>
    {/volist}
    <tr>
      <td colspan="4"><div class="pagelist">{$auth|raw} </div></td>
    </tr>
  </table>
</div>
<script type="text/javascript">
  function del(id, mid) {
    if (!confirm("您确定要删除吗?")) {
        return false;
    }
  }
</script>
</body>
</html>